insert overwrite table ai_dwd.train_sample_bak partition (dt)
select *
from ai_group.train_sample
where dt between '{{ execution_date | date_add(-365) |cst_ds_nodash }}'
          and '{{ execution_date | cst_ds_nodash }}';